home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19990422-19990725
/
000193_news@watsun.cc.columbia.edu _Mon Jun 21 13:18:54 1999.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
1KB
Return-Path: <news@watsun.cc.columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id NAA19677
for <kermit.misc@watsun.cc.columbia.edu>; Mon, 21 Jun 1999 13:18:54 -0400 (EDT)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id NAA16810
for kermit.misc@watsun.cc.columbia.edu; Mon, 21 Jun 1999 13:18:25 -0400 (EDT)
X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
Message-ID: <376E6B68.5B08EB3C@asares.com>
From: Brian Corcoran <corcoran@asares.com>
Subject: kerbang parameters not passed?
Date: Mon, 21 Jun 1999 12:42:16 -0400
Organization: NETPLEX Internet Services - http://www.ntplx.net/
To: kermit.misc@watsun.cc.columbia.edu
Hi,
I'm trying to set up a c-kermit script to run from the command line
(using the #! notation), but I can't get parameters passed to it. I'm
using c-kermit 7.0.195 b7 on Linux 2.2.10.
For example, when I run the following script (kerbang-test.ksc hello
1234) from the command line:
#!/usr/local/bin/kermit
echo begin
echo \%0
echo \%1
echo \%2
echo end
end
I get:
begin
/home/cork/kerbang-test.ksc
end
However, it works if I take it as a kermit script. Am I doing something
wrong?
Thanks,
-Brian